import Vue from 'vue'
import VueRouter from 'vue-router'
import Text from '../components/Text'
import Puto from '../components/Puto'
import Guan from '../components/Guan'
import Tes from '../components/Tes'
import Gou from '../components/Gou'
import Ding from '../components/Ding'
import Xiao from '../components/Xiao'

Vue.use(VueRouter)

const routes = [
  {
        path: '/',
        name: 'text',
        component: Text
    },
    {
    path: '/puto',
    name: 'puto',
    component: Puto
  },  {
    path: '/xiao',
    name: 'xiao',
    component: Xiao
  },
  {
    path: '/gou',
    name: 'gou',
    component: Gou
  },  {
    path: '/ding',
    name: 'ding',
    component: Ding
  },
    {
        path: '/guan',
        name: 'guan',
        component: Guan
    },
  {
    path: '/tes',
    name: 'tes',
    component: Tes
  },
  // {
  //   path: '/about',
  //   name: 'about',
    // route level code-splitting
    // this generates a separate chunk (about.[hash].js) for this route
    // which is lazy-loaded when the route is visited.
  //   component: () => import(/* webpackChunkName: "about" */ '../views/AboutView.vue')
  // }
]

const router = new VueRouter({
  routes
})

export default router
